/**
 * 2009-10-23 下午03:37:57 
 * esignature
 * com.smc.security
 * GrantedAuthorityImpl
 */
package com.smc.security;

import com.smc.domain.model.Authentication;

/**
 * @author chenheng
 * @version 0.0.1
 * 授权接口实现
 */
public class GrantedAuthorityImpl implements GrantedAuthority {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7564215939807335294L;
	/**
	 * 用户的授权
	 */
	private com.smc.domain.model.Authentication authentication ;

	public GrantedAuthorityImpl(com.smc.domain.model.Authentication authentication) {
		this.authentication = authentication;
	}
	/* (non-Javadoc)
	 * @see com.smc.security.GrantedAuthority#getAuthority()
	 */
	public Authentication getAuthority() {
		return this.authentication ;
	}

}
